import { _decorator, Component, EventTouch, input, Input, Label, Node, UITransform, Vec2 } from 'cc';
import EventManager from '../Global/EventManager';
import { EventEnum } from '../Enum';
import { IPlayer } from '../Common';
const { ccclass, property } = _decorator;

//虚拟摇杆管理器
@ccclass('PlayerManager')
export class PlayerManager extends Component {
    init({id,rid,nickname}:IPlayer){
        const label = this.getComponent(Label)
        label.string = nickname 
        this.node.active = true
    }

    
    
}

